package com.example.personnel_oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.comment_oa.pojos.SysPost;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author asus
* @description 针对表【sys_post】的数据库操作Service
* @createDate 2022-10-17 19:05:44
*/@Service
public interface SysPostService extends IService<SysPost> {
    List<SysPost> post();
    //查询出所有职位不包含懂事长
    List<SysPost> selectPost();
    //根据岗位名称查到岗位id和部门id
    SysPost postDept(String postName);

}
